<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd" >
<generatorConfiguration>
	<context id="Mybatis3Tables" targetRuntime="CustomMyBatis3">
        <property name="javaFileEncoding" value="UTF-8"/>
        <property name="javaFormatter" value="org.mybatis.generator.api.dom.DefaultJavaFormatter" />
        <plugin type="com.aisino.nmg.mybatis.generator.OverwriteXmlPlugin" />
        <plugin type="org.mybatis.generator.plugins.SerializablePlugin"/>
        <plugin type="org.mybatis.generator.plugins.ToStringPlugin" />

        <commentGenerator type="com.aisino.nmg.mybatis.generator.CustomCommentGenerator"/>

		<jdbcConnection driverClass="${driver}"
			connectionURL="${url}"
			userId="${username}"
			password="${password}">
			<property name="remarksReporting" value="true"/>
		</jdbcConnection>

	    <javaTypeResolver >
            <property name="forceBigDecimals" value="false" />
        </javaTypeResolver>

        <javaModelGenerator targetPackage="${modelPackage}"
                            targetProject="${javaModelPath}">
            <property name="enableSubPackages" value="false" />
            <property name="trimStrings" value="true" />
        </javaModelGenerator>

        <sqlMapGenerator targetPackage="${daoPackage}"
                         targetProject="${sqlMapPath}">
            <property name="enableSubPackages" value="false" />
        </sqlMapGenerator>

        <javaClientGenerator targetPackage="${daoPackage}"
                             targetProject="${javaClientPath}"
                             type="XMLMAPPER">
            <property name="enableSubPackages" value="false" />
        </javaClientGenerator>

        <!--
        <table tableName="ACC_BASIC" domainObjectName="Basic" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false" selectByExampleQueryId="false">
        </table>
        <table tableName="ACC_ENT_CER" domainObjectName="EntCer" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false" selectByExampleQueryId="false">
        </table>
        -->
        <table tableName="GENERATOR_APP_CONFIG" domainObjectName="AppConfig" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false" selectByExampleQueryId="false">
        </table>
        <table tableName="GENERATOR_TABLE_CONFIG" domainObjectName="TableConfig" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false" selectByExampleQueryId="false">
        </table>
        <table tableName="GENERATOR_COLUMN_CONFIG" domainObjectName="ColumnConfig" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false" selectByExampleQueryId="false">
        </table>
	</context>
</generatorConfiguration>
